#include <map>
#include <string>
#include <iostream>
using namespace std;

int main()
{
    string str;
    while (cin >> str){
        map<char, int> counts;
        for (int i=0; i<26; i++)
            counts[i+'A']++;
        for (size_t i=0; i<str.size(); ++i)
            if (isupper(str[i]))
                counts[str[i]]++;
        for (map<char, int>::iterator it=counts.begin(); it!=counts.end(); ++it)
            cout << it->first << ':' << it->second-1 << endl;
    }
    return 0;
}
